package swind.web.vo;

import java.io.Serializable;



import org.hibernate.validator.constraints.NotEmpty;

public class SubjectVo implements Serializable{

	private static final long serialVersionUID = -1783606523470814273L;
	
	private Integer subId;
	@NotEmpty
	private String name;
	
	private String description;
	
	private Integer testCount;
	
	private Integer totalTime;
	
	private Double totalScore;
	
	private boolean status;
	
	//是否已经参加考试
	private boolean hasExam;
	private ScoreVo scoreVo;
	
	public SubjectVo() {
		// TODO Auto-generated constructor stub
	}

	public SubjectVo(Integer subId, String name, String description, Integer testCount, Integer totalTime,
			double totalScore, boolean status) {
		super();
		this.subId = subId;
		this.name = name;
		this.description = description;
		this.testCount = testCount;
		this.totalTime = totalTime;
		this.totalScore = totalScore;
		this.status = status;
	}

	public Integer getSubId() {
		return subId;
	}

	public void setSubId(Integer subId) {
		this.subId = subId;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public Integer getTestCount() {
		return testCount;
	}

	public void setTestCount(Integer testCount) {
		this.testCount = testCount;
	}

	public Integer getTotalTime() {
		return totalTime;
	}

	public void setTotalTime(Integer totalTime) {
		this.totalTime = totalTime;
	}

	public void setTotalScore(Double totalScore) {
		this.totalScore = totalScore;
	}

	public Double getTotalScore() {
		return totalScore;
	}

	public boolean isStatus() {
		return status;
	}

	public void setStatus(boolean status) {
		this.status = status;
	}

	public boolean isHasExam() {
		return hasExam;
	}

	public void setHasExam(boolean hasExam) {
		this.hasExam = hasExam;
	}

	public ScoreVo getScoreVo() {
		return scoreVo;
	}

	public void setScoreVo(ScoreVo scoreVo) {
		this.scoreVo = scoreVo;
	}

	
	


	



	
	
	
}
